<template>
  <div>
    <h2>{{ info }}</h2>
    <button @click="fn(123)">调用fn</button>
    <button @click="reload">调用reload</button>
  </div>
</template>
<script>
export default {
  inject: {
    info: {
      default: ''
    },
    fn: {
      default: () => {
        return function() {}
      }
    },
    reload: {}
  }
}
</script>
<style></style>
